home *** CD-ROM | disk | FTP | other *** search
/ Enter 2002 January / EnterCD 1_2002.iso / Grafika / Any Image / Setup.exe / RCDATA / UNINST_BAT < prev   
Encoding:
Text File  |  2001-09-05  |  1.1 KB  |  56 lines

  1. @echo off
  2. cd %1
  3.  
  4. cls
  5. echo --------------------------------------------------------------------------------  Any Image uninstallation procedure                              FMJ-Software  --------------------------------------------------------------------------------
  6. echo Uninstalling... (%1)
  7.  
  8. rem ** Clean up the registry **
  9. if exist AnyImage.exe goto runexe
  10. echo Error: Could not find AnyImage.exe
  11. echo.
  12. echo Uninstallation aborted!
  13. copy con con
  14. goto end
  15. :runexe
  16. echo Cleaning up the registry...
  17. dir > aiblock
  18. anyimage.exe -UNINSTALL
  19. :wait
  20. if exist aiblock goto wait
  21.  
  22. rem ** Delete files? **
  23. if not exist aidel goto nodel
  24.  
  25. echo Deleting files...
  26. del aidel
  27. :retry
  28. del anyimage.*
  29. if exist anyimage.exe goto retry
  30. if exist anyimage.gid attrib -h anyimage.gid
  31. if exist anyimage.gid del anyimage.gid
  32. if exist setup.exe del setup.exe
  33. if exist file_id.diz del file_id.diz
  34. del *.aip
  35. del *.txt
  36.  
  37. echo.
  38. echo Done!
  39. echo.
  40. echo.
  41. echo.
  42. echo.
  43. echo.
  44. echo.
  45. echo.
  46. echo.
  47. del uninst.bat
  48. goto end
  49.  
  50. :nodel
  51. echo.
  52. echo Done! (No files deleted).
  53. echo.
  54.  
  55. :end
  56.